{% set page_name = "发放硬币" %}
{% extends "coin_base.html" %}
{% block coin_content %}
<div class="row">
  <div class="medium-12 columns">
    <div class="section">
      <div class="section__header">
        <h1 class="section__title" id="create" data-heading>{{ _('发放硬币') }}</h1>
      </div>
      <div class="section__body">
	<form method="post">
            {{ form.form_text({
                label:'Username / UID',
                name:'uidOrName',
                autofocus:true,
                required:true,
                value:uname
            }) }}
            {{ form.form_text({
                label:'发放数量（负数即为扣除）',
                name:'amount',
                required:true
            }) }}
            {{ form.form_text({
                label:'发放原因',
                name:'text',
                required:true
            }) }}
          <div class="row"><div class="columns">
            <button type="submit" class="rounded primary button">
               {{ _('发放') }}
            </button>
            <button type="button" class="rounded button" onclick="window.history.go(-1)">
               {{ _('Cancel') }}
            </button>
          </div></div>
        </form>
      </div>
    </div>
  </div>
</div>
{% endblock %}
